package db;

public class JavaToSQL 
{
	public JavaToSQL()
	{
		
	}
	
	public static boolean convertIntToBooleanSQL(int source)
	{
		if (source == 0)
			return false;
		else
			return true;
	}
	
	public static int convertBooleanToInt(boolean source)
	{
		if (source)
			return 1;
		else
			return 0;
	}
}
